
#pragma once
#include "pch.h"
#include "00Basic.c"
#include "01Basic.c"

namespace Alg
{
	TEST(Basic, PrintMatrix)
	{
		char* argv[] =
		{
			"ARG0:001",
			"ARG1:xyz",
			"ARG2:@com",
		};
		int i = main00(3, argv);
	};

	TEST(Basic, Swap)
	{
		int A = 2024;
		int B = 2077;
		int A0 = A;
		int B0 = B;
		int A1 = A;
		int B1 = B;
		int A2 = A;
		int B2 = B;
		Swap(&A1, &B1);
		
		GTEST_COUT << "Swap(int*,int*)";
		EXPECT_EQ(B0, A1);
		EXPECT_EQ(A0, B1);

		//Swap2(A2, B2);
		//GTEST_COUT << "Swap(int&,int&)";
		//EXPECT_EQ(B0, A2);
		//EXPECT_EQ(A0, B2);
	};
	TEST(Basic, min01)
	{
		main01();
	};
}
